Answer:

' Fluid oz. of beverage
'
PRINT 3 * 12 + 2 * 16 + 32, " ounces consumed"
END

The program prints:

100  ounces consumed

Because of operator priority, the number of each type of container was multiplied by the container size.

(Parentheses)

Just as in ordinary algebra, parentheses may be used in arithmetic expressions to re-arrange the order in which operations are performed. Arithmetic inside parentheses is done first. So

(10 + 6) / 2

means "add 10 to 6" then divide the result by 2. Here is a program to average two numbers:

'Compute the average of 10 and 6
'
PRINT "The average is", (10 + 6) / 2
END

Without using ( ) this program would be hard to write.

QUESTION 14:

You have taken three tests in a course and received the grades:

Write a program to print out the average of your test grades.